package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereSubscribe;
import org.linlinjava.litemall.db.domain.LumiereSubscribeExample;

public interface LumiereSubscribeMapper extends MPJBaseMapper<LumiereSubscribe> {
    long countByExample(LumiereSubscribeExample example);

    int deleteByExample(LumiereSubscribeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereSubscribe record);

    int insertSelective(LumiereSubscribe record);

    LumiereSubscribe selectOneByExample(LumiereSubscribeExample example);

    LumiereSubscribe selectOneByExampleSelective(@Param("example") LumiereSubscribeExample example, @Param("selective") LumiereSubscribe.Column ... selective);

    List<LumiereSubscribe> selectByExampleSelective(@Param("example") LumiereSubscribeExample example, @Param("selective") LumiereSubscribe.Column ... selective);

    IPage<LumiereSubscribe> selectByExample(IPage page, LumiereSubscribeExample example);

    List<LumiereSubscribe> selectByExample(LumiereSubscribeExample example);

    LumiereSubscribe selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereSubscribe.Column ... selective);

    LumiereSubscribe selectByPrimaryKey(Integer id);

    LumiereSubscribe selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereSubscribe record, @Param("example") LumiereSubscribeExample example);

    int updateByExample(@Param("record") LumiereSubscribe record, @Param("example") LumiereSubscribeExample example);

    int updateByPrimaryKeySelective(LumiereSubscribe record);

    int updateByPrimaryKey(LumiereSubscribe record);

    int logicalDeleteByExample(@Param("example") LumiereSubscribeExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}